import Main from './src/components/main'
import XButton from './src/components/x-button'
import _Vue from 'vue'

const install = Vue => {
  if (!Vue) {
    window.Vue = Vue = _Vue
  }
  // 判断是否安装
  // if (install.installed) return
  Vue.component(Main.name, Main)
  Vue.component(XButton.name, XButton)
}
export default {
  install,
  Main,
  XButton
};
